package com.xjtu.se.homework.ops.login.dao;

import com.xjtu.se.homework.ops.login.dto.AdminDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginDao {

    @Select("select count(adm_id) from admin where adm_id=#{adminId} and adm_pass=#{adminPass}")
    int findAdminById(AdminDto dto);

}
